Which of your relatives was Moroccan?
Moroccan nationality passes from a Moroccan father or mother to their child, wherever the child is born, with no limit on generations. The mother's line has counted since 2007, and that reaches back to people born before it. Families of Moroccan Jewish heritage claim the same way. If you know the family was Moroccan but not which relative held nationality, choose a grandparent or earlier ancestor.