MIT is actually well known for making information free, but the credential is expensive.
+1 to this - when I was in school, I was never denied a seat in a class that I wasn't officially enrolled in (I took maybe 6 or 7 extra courses that way - oddly enough, I was kicked out of some classes I enrolled in, for space/seniority/in-major reasons), and I always asked the professor before sitting in (I probably could have gotten away with not doing that, since in the math/science departments half the professors don't bother to learn names anyhow, but asking seemed like the polite thing to do).
Some of the most interesting stuff I learned was in those classes, and it's actually how I ended up getting back into programming (I hadn't programmed since middle school)...it's a great way to sample stuff outside your major without needing to worry about doing badly in the classes.
I know people that do this sometimes even as non-students, and they've told me that most professors don't usually mind, though occasionally they'll say no.
How do you even get into the buildings without an ID?
My suggestion: photoshop something that looks vaguely like an NYU ID, then stick it in your wallet behind a clear window. Flash it at guards when you come in, they don't care enough to look closely.
To prove this, go to your local university and ask how much it costs to take a class by examination (no classtime, simply take the final exam).