A solid is a phase of matter. In it the distance to the nearest neighboring constituents is low enough that the binding energy becomes larger than the thermal energy.
No crystalline or periodic structure is required, they can be completely amorphous, or exhibit short-range order.