I have 2 geometry definitions internalized (stored) in different geometry box (Please see the geometry in below).
I wish to find a function that can switch the 2 geometry, i.e. if I set the function to 1, geometry A is selected. Is there any if --> then function or other solutions for this problem?
You can just use a Stream Filter or Stream gate depending on your workflow. This gives you the option to try more than just 2 options. Just did it panels as easier to visualise quickly but would work with any data plugged in.