Structural Disorder and Collective Behavior of Two-Dimensional Magnetic Nanostructures