I am using QGIS 3.16.0 and I need to find the difference between two rasters that overlap in some areas (basically I need the areas that are not overlapped). First, I tried polygonizing the smaller raster so I extract the vector file obtained from the bigger raster, but the rasters are very big and polygonizing the smaller raster makes my computer to stop working since there are so many small polygons. I tried subtracting the smaller raster from the bigger one in raster calculator, but the result is the same as the second layer since the extent of both rasters are the same and both have only two values: 1 for where are trees and 0 for where there are not any tress. So using raster calculator will result in 0 for all areas.
How can I obtain the non overlapping areas of these two rasters?