Turning it off will always use less.
The rate of heat leaking from the house is directly proportional to the temperature difference. When you turn it off the temperature inside falls and consequently the rate of heat loss falls too.
Of course you have to put more heat in to get it back up to temperature when it is restarted but the total heat provided by the boiler is less than if it had been left on.