The 9/11 hijackers were mostly on tourist visas from a place with almost no history of terror attacks: http://www.fairus.org/issue/identity-and-immigration-status-...
And of course most deaths from terrorism in the US are from "mass shooters", who tend to be self-radicalised US nationals with fringe political beliefs.