House Mode - Am I doing this right?

BRAND new to Node Red, coming from ST and webcore but moving quickly into HA + NR. Glad to be here.

Is this an efficient way of programming the smarthome "mode" similar to ST's home mode. I have binary_sensor's in HA that then trigger scenes via automations.

Just wanted to get some feedback on my first flow:

Couple questions:

  1. Is there a way to have 2 inputs into a node that can turn on if true or turn off if false?
  2. Is there a more efficient way to track individuals/guests for first in/last out node flagging true?
  3. Any recommendations on reducing/perfecting the flow?

To answer your first question, I'm not sure what you mean by inputting true or false. I'm not aware of a node that has two inputs but there are nodes that will do boolean operations. Nodes that will take information from two sources and determine an output. Just posting a picture is tough to determine what is going on if you want to post the flow maybe someone would be willing to take a look at it.