并非 = 并 + 非, a stronger negation than 不是. It emphasizes that something is contrary to what people might assume. Use it when correcting a misconception or stressing a point.
register
并非 is more formal and literary than 并不是, which conveys the same meaning in everyday speech.