I think we have to be cautious in interpreting ISIS claims of responsibility for terrorist attacks. Take the worst of the recent ones, in Nice. It was discussed by Akbar Ahmed, one of the most careful and discerning analysts of radical Islam.
He concludes from the available evidence that the perpetrator, Mohamed Lahouaiej Bouhlel, was probably “not a devout Muslim.