Well, that's still technically "open". If the border was hermetically sealed (and boats/subs that tried to circumvent it were sunk) that would stop. Pesky international agreements however.
It is true that the United States could treat Mexico the way South Korea treats North Korea. I think that would be a terrible idea for extremely obvious reasons.