The Foreign Office does not advise against travel to anywhere in Morocco. However, anyone travelling to the Western Sahara is advised to refer to the relevant advice page, and the FCDO notes that the land and maritime border between Morocco and Algeria is closed: “Do not attempt to cross the border,” they advise.