An algebra problem by A Former Brilliant Member

Algebra Level 2

Solve for $x$ if

$\large x=\sqrt{1-\sqrt{1-\sqrt{1-…}}}$.