@Steppenleguan as long as the config.g and wiring are correct, it should treat the dual z as a single axis when sending gcode commands and stop each motor when the corresponding switch is triggered.
Out of curiosity, what does the axis do when you send a standard z home command to it? Is there movement, and do the correct motors stop when the endstop switch is triggered.