A person has given to me this coin and they told me it's from Morocco but I couldn't find any information about it on Google when searching "moroccan coins","moroccan old coins"(where I ended up here),"palm tree in the back of the coin(I'm not sure if it's a palm tree)",etc...


These are the images of the coin.I thought it could be a mint error but again,I'm not sure.
Any help is appreciated.