I would think it highly unlikely that a person would go to a training camp for a research project. They're there to commit crimes and learn how to commit crimes. They don't just show up there. There has been an organization and an agreement to have the person received. That could be dealt with under present conspiracy law because they have agreed with another party to train to commit an offence, which has some effect or some basis in Canada. Also, a terrorist organization is by definition a criminal organization. The criminal organization law is quite wide in this country. Doing something which benefits or assists a criminal organization is an offence in Canada. There is plenty of legislation there right now, sir.
On December 3rd, 2012. See this statement in context.