Those interested in how APL handles booleans might also check
https://aplwiki.com/wiki/Boolean#Boolean_optimization , where I've linked a few resources including the OP. I find McDonnell's "The Caret and the Stick Functions" from the external links below particularly interesting.