This depends on the logic family employed. For "standard CMOS" which is common today, +5V is 1 and 0V or ground is 0. However, other systems use other voltages. Lower voltages are common today for a few reasons. 3.3V logic, for example, is widely used where 3.3V is a 1 (and 0V is 0). However, it is possible to have negative logic. In addition, some high speed systems like ECL use voltages like -1.75V for a 0 and -0.9V for a 1 (this allows transistors to stay out of saturation which makes for fast switching but poor noise immunity and difficult design).