Does Montana border an ocean or another country?

no

Montana does not border an ocean. To the north Montana borders Canadian provinces British Columbia, Alberta, and Saskatchewan.