You are making syntax errors with norm. Perhaps you meant norm([x y]) in the last line, and something other than norm(1,y) in the 2nd line.
However, I don’t think your overall approach is mathematically correct given how norm combines elements in its vector input. You will need to linearize max(x,1) and max(y,2) ; I don’t know whether you can do that without use of binary variables (using MIDCP capability) or is somehow your overall problem allows you to avoid binaries.