If I write $$ x\in [0,1] \tag 1 $$ does it mean $x$ could be ANY number between $0$ and $1$?
Is it correct to call $[0,1]$ a set? Or should I instead write $\{[0,1]\}$?
Q2:
If I instead have $$ x\in \{0,1\} \tag 2 $$ does it mean $x$ could be only $0$ OR $1$?
Yes.
If $x\in [0,1]$ then $x$ can be any number between $0$ and $1$ (inclusive). Another way to write this is $0 \leq x \leq 1$.
A related notation is $(0,1)$, or sometimes in European writing $]0,1[$, which is the open interval excluding end points, i.e. $0<x < 1$.
Yes, $[0,1]$ is a set (it is also called an interval because it contains only consecutive numbers). The set is $[0,1] = \{x\in\mathbb R\mid 0 \leq x \leq 1\}.$
However, $\{[0,1]\}$ is also a set. A different set. They are different sets because $[0,1]$ has an infinite (uncountable) number of elements (i.e. any real number between $0$ and $1$), whereas $\{[0,1]\}$ has only one element, namely $[0,1]\in\{[0,1]\}$.
Yes.
If $x\in\{0,1\}$ then $x$ is either $0$ or $x$ is $1$, and not for example $0.312$.