Math Help - Regarding Controller Stick Magnitude

In this case I would simply use a Min(1, X+Y). If X+Y > 1 the function will clamp to 1, otherwise just pass on X+Y.