Muhammad Irfan Danyal bin Mohamad Nor, a Singaporean student, was detained in December under the Internal Security Act. His plans included recruiting a suicide car bomber to attack a military camp as well as bombing a grave site, the authorities said.