Flatten and/or only.
All other operators are binary.
Rename basicfunctions to logical-operators