I dont think its a crime but when your SIM card is with a person who is involved in the terrorist attacks, then you are in problem. But if you convince the authorities (abroad and not in India) that you dont have any connection with them and factually that is what they find in their investigation you are free.