Yes, we really are that stupid.
The sad thing is ‘we’ (a broad coalition forces) actually have ISIL surrounded everywhere, and they could be wiped off the face of the earth within a year. Approx 75k of the worst of the worst rabid fighters have been killed already.
But now this ban, plus Trump’s threat to torture ‘terrorists and their families’ will lead to a tremendous recruiting bump for the organization.
This is what happens when people who have zero understanding of world politics suddenly find themselves holding all the power. They mess everything up.