Swap out the " bad " thermostat with the tstat that is working ?
Ohm out the tstat wiring . Is the wiring unbroken from start to finish or does it have splices / joints ?
Are there zone valves , or does the whole house start heating when the boiler fires up ?
Can you run new tstat cable for the tstat that is not working ?
God bless
Wyr