Rabat - Three Moroccan soldiers have been found guilty and sentenced to two years in prison for possession of a flag of the so-called Islamic State (ISIS).