Is morocco a spanish speaking country?

No, the official languages of Morocco are Arabic and Berber. Although Spanish is a popular second language in Morocco, it is not an official language of the country. Instead, Morocco was previously a French protectorate, and as a result, many Moroccans speak French as a second language.
Copyright Wanderlust World © https://www.ynyoo.com