First, restrict immigration from any muslime country. If that's religious discrimination, tough. Islime (which isn't even merely a religion to begin with) has earned that discrimination.
Second, make it clear that these are not criminal prosecutions, but military actions against a hostile nation, even if it is one that cannot be defined by geographical borders. The goal of any military action is to destroy the enemy, not to capture him. Shoot on sight.
Third, deport the threats. Any 'slime vermin already in the country that has given the slightest indication that he's a risk goes back to Shithola immediately. No due process, no court trial, nothing. Locate him and put him on the boat.
Fourth, publicly denounce the apologists and defenders. They should fear for their lives.
Fifth, root out the cancer at its source. Infiltrate, interdict, and annihilate them in their own homelands, long before their disease ever reaches our shores.
Sixth, get buy-in from the rest of the world. Almost no corner of the globe is untouched by this scourge, so everyone should agree that solving it is an issue of the highest order. Resisting that idea is tantamount to suicide.
Bomb the mideast killing the leaders of those countries.