I believe that in the US anyway, peyote is illegal, but I am not aware of san pedro being illegal anywhere, in fact it's pretty commonly used as an ornamental cactus.
But as willow said, we don't encourage legal discussion here. Google can help you quite quickly and easily.