How do I print logic field on page--node.html.twig? This code printing 0 or 1

{{ node.field_some_logic.value }}


I want he print NO or YES.

Somobody know, how to do this?
With simple logic, you could try using 

{{ node.field_some_logic.value ? 'YES' : 'NO' }}


See ternary operator on https://twig.sensiolabs.org/doc/2.x/templates.html