New York is a county.
New York . The state has a maritime border in the Atlantic Ocean with Rhode Island , east of Long Island , as well as an international border with the Canadian provinces of Quebec to the north and Ontario to the northwest . New York City makes up over 40 % of the population of New York State . The next four most populous cities in the state are Buffalo , Rochester , Yonkers , and Syracuse , while the state capital is Albany .