First, this is a bug which somehow allows the model to sneak through, it should not be possible for YALMIP to setup a model for any case. norm is a convexity aware operator, and as it is now norm(squared) should not be possible to propagate as it doesn't satisfy the convexity propagation rules used. I think YALMIP fails sometimes whn ther eare polynomial stuff inside LP/SOCP/SDP-representable operators
I'm a bit concerned that you don't understand the complexity of the model though, or what you are modelling really.
The constraint effectively involves the expression max(sum(abs(M1^2),1)), hence your constraint is sum(abs(M1^2),1) <= 1, which once again won't work as you have the convex abs operator on the non-monotonic quadratic terms. Hence, the manual model is
s = sdpvar(2,2)
e = M1^2;
[-s(:) <= e(:) <= s(:), sum(s) <= 1]
this is a nonconvex set of quadratic inequalities, for which you will have to use a global nonlinear solver if you want to solve it to optimality.
Of course, it could be that norm(M1^2, Inf) is a convex expression which is SOCP/SDP representable, but then you have to derive that model