That was a restriction from before 1.46 stabilized control flow in const functions. Now that we have worked out the details around `if`, we can also stabilize `&&` and `||`.
(I'm a little surprised they weren't stabilized at the same time! Edit: they were! I just didn't look closely enough.)