Most people who are idiots are not terrorists either.
On average a terrorist would be smarter than the average person. Terrorists are highly motiviated individuals, they can deeply understand an ideology and they activity learn/train in specialized skills. Compared to the average person their IQ would be 20 points higher.
Being a terrorist isn't easy. It's not a job for everyone.