The bernoulli process is your friend.

A BERNOULLI RANDOM VARIABLE is used to model experiments that result in a value of zero or one. For example: