Name of state in new york city
I think there may be a bit of confusion here!
New York City is a city located in the state of New York. So, the name of the state is:
New York
New York City is a major city within the state of New York, and it is not a state itself. Does that clarify things?