Man with terror links detained by Police