Hook up two cable boxes to 1 tv

Solution
Simply connect one box to one HDMI input, and the second box to the second HDMI input.
Provided your TV has two HDMI ports, and both of your cable boxes has HDMI connectivity.

K.