Yes, ocean currents profoundly influence New York City's climate—chiefly the Gulf Stream. This warm, swift Atlantic current acts like a heat conveyor, moderating temperatures year-round.
The Gulf Stream is part of the Atlantic Meridional Overturning Circulation (AMOC). Climate models suggest AMOC weakening could eventually reduce this warming effect—a major research focus.
For now, New Yorkers owe their relatively gentle winters (compared to peers like Beijing or Boston) largely to this "river in the ocean."