An Islamic militant described as Singapore's most wanted man has been detained under Internal Securty Act for a two-year term.