What bill? Which country? This is the World Wide Web dude (or dudette).
Oh, and welcome to A2K !!
You've got two extremes, borders open and borders closed. In between you have a vast range of options to choose from and every country manages it differently. In times when people feel (rightly or wrongly) that their personal security is threatened by a more open border policy, then the pendulum is likely to swing in the opposite direction for a while.
The only real morally correct option is all borders open, all the time...but people are generally a bit too selfish for that.