New York is a noun that is used to refer to the state of New York, an area of the United States located in the Northeastern region. Its capital is Albany and it is the fourth most populated state. When used as a noun, it generally refers to the state's geographical area, although it can also be used to refer to the city of New York, the state's largest city.
1. I'm planning a trip to New York next summer.
2. We had nice party in New York.
when used as a noun, New York should not be used to refer to the whole of the United States, but only to the state and the city. Additionally, caution should be taken to ensure proper spelling, as 'New York' is often mistakenly spelled as 'Newyork'.