Your garden variety motion detector uses IR, but these days, there are fancier technologies for achieving similar goals. If so desired, you can source yourself a microwave-based presence sensor ...
Turn an Old Smartphone into a Security Camera: There is no longer a need for expensive CCTV systems to ensure home security.