Sleepless In Seattle. No wait, that's not right, is it?
Any Woody Allen film, I think is. Sam Raimi's Spider-Man films are not only set in NY, but are a clear love letter to the city.
Escape From New York
Approximately 14,009,874 other films. (NYC is a popular place.)