Just to add more info : only very few airports in the US allows non-ticketed pax to go airside. A very recent article on the home page of FT here :
https://www.flyertalk.com/articles/t...-a-ticket.html
And JFK is not part of those, and I'm glad this is the case. It already a zoo, so we don't need more people in the security lanes.