The best way to get to the oneworld lounge at JFK is airside in Terminal 8, after security, and the lounge you can use depends on your ticket and status, not on the terminal you arrived in. Terminal 8 is American Airlines’ terminal at JFK, and its oneworld lounges are reached through the terminal’s departures level and airside concourses, so the route is: check in for Terminal 8, clear security, then follow the lounge signs airside.

Which lounge, and who can enter
Terminal 8’s oneworld lounges include the Greenwich, Soho, and Chelsea lounges, each with its own access rules. In general, oneworld Emerald and Sapphire members travelling on a oneworld flight, and passengers travelling in a premium cabin on a oneworld carrier, may enter, with guest allowances that differ by status and cabin. The lounge’s own listing for your flight governs, because access rules change, and a lounge that admits one status may not admit another.
If you are not eligible for a oneworld lounge, the terminal’s other lounges and restaurants are the alternative, and buying a day pass for a different lounge network is a separate purchase with its own rules. Do not assume a lounge pass bought for one network admits you to a oneworld lounge.
Getting there on the day
Arrive at Terminal 8, not at another JFK terminal, because the oneworld lounges are airside in Terminal 8 and cannot be reached from another terminal without clearing security again. Allow time for security and for the walk to the lounge, especially if your gate is at the far end of a concourse, and check the lounge’s hours and location on the day, since terminal layouts and lounge hours change.