ZCash is legal to use in any country where cryptocurrency has not been outlawed. In 2021, Nigeria made trading the likes of ZCash illegal, while the likes of Turkey, Bolivia and Jordan also do not allow ZEC. But regulations change all the time, so please do your research.