They did, they called it Nevada... unfortunately it's not a tall wall, and due to a surveyor's mistake it doesn't extend all the way down... but those are minor details.
“Arizona should just build a wall . . . . between itself and California.”
“They did, they called it Nevada...”
Best look at the map again. Arizona cojoins California along nearly its entire western border, as does Nevada only farther to the north.