All of those groups represent a tiny subset of the population ill suited to mass surveillance dragnets and well suited to on-the-ground policing and community engagement (as in, getting sane members of those groups to snitch on the insane).
Just the other week I saw the news that until recently we had 300 (!) Saudi nationals training to fly planes right here in the US. Software won't help us with stupidity/sabotage of this magnitude.
https://abcnews.go.com/Politics/navy-suspends-flight-trainin...
Your post is similar to if I proposed a hypothetical about addition using apples, and you posted a screed about how apples are overused in American cuisine and their nutritional value is suspect, especially relative to oranges and pears.