JFK airport is located in Queens (a borough of NYC). Before GPS, and strict rules set by the Taxi and Limousine Commission, taxis only wanted to take pax to Manhattan [probably their "home" base and higher fare.]
If one arrived at JFK and wanted to go to any borough other than Manhattan,
you had to know the route...it was unlikely the cab driver did.