in TTL the logic level 0 could be considered as 0 V while logic level 1 would be defined as +5 V.
However there are practical factors which must be considered.
To expect voltage levels to be exact is unrealistic,zero volts may actually be'almost zero',i.e.0.2V,while+5V may in reality be 4.6V.