Hi @Suzzy-Grey!
“A variable randomly sets value to 0 or 1 every 1 seconds.” - Try use repeat every 2 sec.
The bottom line is that the value “Repeat every”, should always be greater than the maximum value of the variable. (Such a specificity of the work of the program code, the values should not be the same).