No, xylem does not have a nucleus at maturity.
Xylem is the vascular tissue in plants that conducts water and dissolved minerals upwards from the roots and helps to form the woody element in the stem. The primary functional cells in xylem, the xylem vessels and tracheids, are dead at functional maturity. Because they are dead, they lack organelles, including a nucleus. This lack of cellular contents creates an open pathway for efficient water transport. The lignified cell walls of these cells provide structural support.
In summary, xylem's specialized function relies on its component cells being dead, which allows for efficient water transport.