Jail staff conducted a surprise search operation in the prison barracks to check illegal items.