That's certainly an interesting point. I must admit I struggle a bit with understanding where these people are coming from, because as an atheist I don't personally experience a lack of community and belonging. I would imagine a forced "sense" of community being prescribed at gunpoint to be quite alienating, but I've heard enough people asserting it to take it seriously.
Maybe fundamentalist islam is just a meme whose time has come. Maybe the mindless, cruel herd is fundamentally more appealing to humans than individuality and free thought. In that case, we're not just seeing the pendulum swing here, we're seeing the transition into a new civilization: devoid of science and insight of any kind, yet wielding the tools of technology for maximum devastation.