The intracluster medium in z > 1 galaxy clusters