YAML 1.2 removed most of the nonsense booleans and only recognizes true | True | TRUE | false | False | FALSE.
https://yaml.org/spec/1.2/spec.html#id2805071
Of course, even though YAML 1.2 is a decade old, there are still many parsers that accept YAML 1.1.