Swift 2.0, 70 100 98 82 7777 75 bytes
A simple trial division loop, divided by 2 instead of sqrt() as it takes less bytes! Will default to using 64-bit ints.
let n=Int(Process.arguments[1])!;print(n<4||(2...n/2<n).filter{n%$0<1}.count<1)