How to include binary norm constraint in CVX?

What does this constraint even mean? You want norm(d(n,k)) to be equal to zero or one?

Anyhow, this seems non-convex, and probably not MIDCP representable But perhaps something could be done if you made clear what kind of variable d is and what your intended constraint is.