Where is philadelphia new york

I think there may be a bit of confusion here!

Philadelphia is actually a city located in the state of Pennsylvania, not New York. It is situated in the eastern United States, about 96 miles (154 km) west of New York City.

Here's a rough idea of where Philadelphia is in relation to New York City:

So, to summarize: Philadelphia is a city in Pennsylvania, not New York!