The UK was not in Schengen when it was a member of the EU.
Thanks for the correction, edited the comment