If $\Delta S_{total}$ were not zero, then heat flow would take place at different temperatures.
It is easy to see why this is true by examining the opposite: that when heat flow takes place at the same temperature, $\Delta S$ = 0. Consider two equal and opposite heat flows: $dQ_{1}$ and $dQ_{2}$ where $dQ_{1} = -dQ_{2}$. If these flows take place at the same temperature, $T$, then $dQ_{1}/T + dQ_{2}/T$ = 0.
Why is this important, however. That heat flow take place at the same temperature, if a process is to be comparatively efficient?