BID says over 1,000 are held in prison for the purposes of immigration detention and are entirely absent from published Home Office statistics.

https://www.ein.org.uk/news/bail-immigration-detainees-report-examines-use-prisons-immigration-detention