If the federal government really cared about security, the southern border would be closed, and immigration would be tightly controlled at every entry point.
The Patriot Act isn't for fighting terrorism; it is for controlling citizens.
Interestingly, the northern border is specifically mentioned in the Patriot Act, while any mention of the southern border is suspiciously absent.