The article doesn't specify, but I suppose that this wall will be inside Israel. That would make it legal, even if regrettable. Unlike ...
Red Cross: Scale of sexual violence in South Sudan is unprecedented (Reuters)
from the article: Israel to build NIS 1.5b fence along Egypt border