The film is based on the true story of Billy Hayes and his experiences depicted in “Midnight Express.”