May Allah forgive you. Terrorists are considered muslims until something in their manhaj takes them out of the fold of Islam.

We are not people to judge them. Only mufti's can make that well thought out and based on baseerah(evidence) decision about a person or group of persons.

Actually Allah forgives Idol worship as well if one repents and forsakes what he used to worship other then Allah.