I found this article , for what it is worth. The U.S-Canada border is undefended in the sense that there is no military presence. U.S. border patrol agents carry weapons, although Canadian border patrol agents do not, according to this article
I was surprised by how long the border between Russia and Kazakhstan is, The border between the U.S. and Canada is longer (world’s longest), because it includes the border between Alaska and Canada, which is fairly long.