paul. thank you for the extensive answer!
your solution to switch btw low input and low output seems to be the perfect solution.if I understand correctly,
LOW INPUT = Arduino as a voltmeter (open circuit)
LOW OUTPUT = grounded circuit
Perfect because it involves no mismatched voltages, hence no risks. No logic shifters either.
I don't understand the concerns about one part being switched off while the other is still on.