It is from BerNOULli distribution [0]
[0] https://en.wikipedia.org/wiki/Bernoulli_distribution
EDIT: formatting