But let's be a little rational here. What particular religious/ethnic group is presently comprising those who are routinely using homicide bombers and other means of violence against unarmed, non-combatant civilians; i.e., who comprise those called "terrorists"? Asked and answered... many times.
Nevertheless, I believe the question about "24" should be answered, to wit:
"24" is an equal opportunity inflamer. Sure, Muslims get picked on. So do defense contractors. How about black women? 2 years in a row there are conniving black, females who try to undermine the noble "CTU" and place the nation at risk. Then there are CTU supervisors who have their own agendas and problems... mid-level government officials... who keep getting in the way of progress only to be shunted aside when the going really gets rough....Yup, an equal opportunity inflamer."24" is nothing more than a sign of the times. During WWII, it was the "Japs" and "Krauts". Fair? Ask those who were attacked. It's not rational to paint a nation or a religion with one brush... but it is understandable. Especially when there is so little said by members of the religion/ethnic group against those violent actions.
But it's just temporary... there will be another villainous group to take the place of the current villains.