put simply, SN2 requires the nucleophile to perform a "back side attack" which means it hits the carbon on the side opposite the side bonded to the leaving group, so a primary is good cuase no hinderence to the "back side attack". A tert alkyl halide is bad cuase it'll be all clustered and hindered.
if you got a primary alkyl halide and a strong nucleophile then yeah, most likely SN2 hence, it depends on your alkyl halide
it should be noted that the strength of the nucleophile is not important in an SN1 reaction