The legal requirement is for your tyre tread to be at least 1.6mm deep. Anything below that will fail. Something close may be a minor issue (or advisory). You can check this yourself using the 20p method.