How many inputs will you use. Let's assume 3, one each for X, Y and Z.
Wire the "far" end to the two wires. Wire the "near end" by breaking into the outer cable, grab one of the wires, cut it, and attach the two cut ends to the switch. Doesn't matter which wire. This is for a Normally Closed (NC) switch. At the SS, wire one side of each of the 3 cables to ground, and the other wire to the SS input.