Absolutely not, and it's apples and oranges anyway. The US like every other country in the world has a right to control its borders and regulate who comes in and out of it.
Freedom of movement by the citizens within the country is a whole other ballgame.
Correction on my part: the US has a right to regulate who comes in, Americans like everyone else are free to leave anytime they wish.
And for what purpose do they control seek to control these borders? Why is a North Korean or East German border what seem people prefer for the U.S.? Fences work both ways, you know...
Freedom of movement by the citizens within the country is a whole other ballgame.
The lines being crossed are imaginary in both instances. If the Governor of New York declared he wasn't accepting immigrants from Mississippi or Alabama, and needed to put a tax on goods from those areas in the name of preserving jobs (creating goods that are made cheaper in MS or AL), would it be a good idea? Why or why not?