Is a dwi considered moral turpitude?

No, at least in California (and confirmed by the Ninth Circuit Court of Appeals), driving under the influence is not moral turpitude. Moral turpitude includes a wide range of offenses from murder and perjury to deceit, cheating, perjury, theft, and more. Driving without a license was held by the court of appeals to be moral turpitude, while driving under the influence was not. The difference is a technicality for most people but has huge consequences in immigration cases.