I wish I were him. (commonly said; informal) I wish I were he. (formal) Strictly speaking, the sentence requires the subjective case "he" but "him (objective case) is so common among native speakers that almost no one considers it wrong anymore.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.