The accused in the Gorakhnath Temple attack case was in touch with the fighters and sympathisers of the proscribed terror outfit Islamic State of Iraq and Syria (ISIS), said Prashant Kumar, Additional director general of police (Law and Order), Uttar Pradesh Police.