You can ride out of or into the city with maybe a mile of road riding.
I added a comment in Roland’s YT to also consider the multi-part trail running from Kingston, NY to NYC, via the Walkill Trail, Hudson Valley Trail, Duchess Rail Trail, Maybrook Trail, then the assorted Putnam/North and South County trails into NYC. 110 miles all told. You can ride out of or into the city with maybe a mile of road riding.