New York City is not in York. It is located in the southeastern part of New York State, United States.