This Blend will teach you the basics of using logical statements. Sverchok's logic node is the main component of this lesson. If understanding how logic functions work in real world use cases confuses you, then this should assist in your education.
Sverchok Addon Link - github.com/nortikin/sverchok
----------Nodes Used---------- AND OR NOT TRUE FALSE List Join List Math - Sum Float to Int