Random variables

A sensor records whether a door is open at a randomly selected instant, coding open as 1 and closed as 0. Which statement best describes the resulting variable if these are the only possible states?