The incident happened at Orchard Beach in the Bronx.
According to the NYPD, the boy was not breathing when he was pulled from the water, but he was quickly revived and breathing on his own minutes later.
The boy was taken by ambulance to a nearby hospital for treatment.
Here's a look at the beach where it happened:
No one else was in the water at the time.