Using digitalWrite(x, !digitalRead(x)) to toggle a pin in OUTPUT mode

yea, i get that.
but i can hear my supervisor saying "No!, make LOW zero"

that's an argument for defining the return and argument values which represent digital logic bits as boolean, then "!" applies

should it be an error if the "!" operator is applied to non-boolean values?

what about digitalWrite(x, digitalRead(x)); (echo)? sounds like this is acceptable


i believe i "get it", i "understand" the argument. but i believe things in "Arduino land" could have been done differently to avoid this discussion.

i'm often chided for presenting "C" code that is too advanced for the newbies on this forum. i gotta wonder if this topic is way beyond the typical newbie