Controlling external power via relay with Nano 33 IoT

Are the controllers near each other? Then having and common GND and a logic signal would be preferred.