States bordering Canada:
Alaska
Washington
Idaho
Montana
Minnesota
New York
Vermont
Maine
States bordering Mexico:
California
Arizona
Texas
*only land borders are included
The state you are thinking of is Alaska. It borders Canada and the Pacific Ocean, but not any of the other 49 States.
New Mexico. Mexico is a country bordering the United States and New Mexico, a state in the the United States, has the same name. The only state in the US that has the name of a country that borders the US in it is New Mexico. The other country is Mexico.
Alaska and Hawaii share no borders with US States.
Kansas.
Hawaii is a State of the US and includes several islands. All the islands are located in the Pacific Ocean. No state nor country borders it.
Illinois shares land borders with several other US states and one of the Great Lakes, but does not share a border with another country. It is possible, though, to travel by boat from Illinois to Canada.
Mexico borders the US to the south.
Maine only shares a border with one US state. This state is New Hampshire.
Montana is the western state in the US that borders on one foreign country (Canada) and six other states (Idaho, Wyoming, North Dakota, South Dakota, and Minnesota).
Mexico is the Spanish speaking country that borders the US to the south.
Maine borders only one state.
No country borders the US to the west. The western border of the US is the Pacific Ocean.